package com.cci.kangdao.escalation.dao;

import com.cci.kangdao.dao.model.UserT;
import com.cci.kangdao.escalation.model.PositionExpertT;

import java.util.List;
import java.util.Map;

public interface PositionExpertTDao {
    int deleteByPrimaryKey(Long id);

    int insert(PositionExpertT record);

    int insertSelective(PositionExpertT record);

    PositionExpertT selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(PositionExpertT record);

    int updateByPrimaryKey(PositionExpertT record);

    /**
     * 获取服务专家用户列表
     * @param paramsMap
     * @return
     */
    List<UserT> selectPositionExpertByTypeAndReasonKey(Map<String, Object> paramsMap);

     /**
      * @description: 查询升级原因对应的专家
      * @param:
      * @return: 
      * @exception:
      * @author: shiliqiang
      * @company: CTY Technology Co.,Ltd
      * @since: 2022/1/19 10:29
      * @version: V1.0
      */
    List<UserT> getReasonTypeExpert(Map<String, Object> paramsMap);

}